package com.wtwd.device.model.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * @author mjy
 * @date 2021/08/12
 * @description
 */
@ApiModel(value="UpgradeVo对象", description="")
public class UpgradeVo implements Serializable {


    private static final long serialVersionUID = 100000001;
    @ApiModelProperty(value = "主键id")
    private String Id;
    @ApiModelProperty(value = "手表类型id")
    private String watchId;
    @ApiModelProperty(value = "版本")
    private String version;
    @ApiModelProperty(value = "文件类型")
    private String fileType;
    @ApiModelProperty(value = "文件路径")
    private String filePath;
    @ApiModelProperty(value = "上传时间")
    private long upTime;
    @ApiModelProperty(value = "升级数量")
    private Integer upgradeNum;
    @ApiModelProperty(value = "语言")
    private String language;
    @ApiModelProperty(value = "描述",required = false)
    private String describe;
    @ApiModelProperty(value = "更新标志0代表无更新，1代表有更新",required = false)
    private Integer updateFlag;
    @ApiModelProperty(value = "存放比较版本的字符串(因为前面两位不参与比较,故需截取掉)",required = false)
    private String subVersion;//存放比较版本的字符串(因为前面两位不参与比较,故需截取掉)


    @Override
    public String toString() {
        return "UpgradeVo{" +
                "Id='" + Id + '\'' +
                ", watchId='" + watchId + '\'' +
                ", version='" + version + '\'' +
                ", fileType='" + fileType + '\'' +
                ", filePath='" + filePath + '\'' +
                ", upTime=" + upTime +
                ", upgradeNum=" + upgradeNum +
                ", language='" + language + '\'' +
                ", describe='" + describe + '\'' +
                ", updateFlag=" + updateFlag +
                ", subVersion='" + subVersion + '\'' +
                '}';
    }

    public String getSubVersion() {
        return subVersion;
    }

    public void setSubVersion(String subVersion) {
        this.subVersion = subVersion;
    }

    public String getId() {
        return Id;
    }

    public void setId(String id) {
        Id = id;
    }

    public String getWatchId() {
        return watchId;
    }

    public void setWatchId(String watchId) {
        this.watchId = watchId;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getFileType() {
        return fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public long getUpTime() {
        return upTime;
    }

    public void setUpTime(long upTime) {
        this.upTime = upTime;
    }

    public Integer getUpgradeNum() {
        return upgradeNum;
    }

    public void setUpgradeNum(Integer upgradeNum) {
        this.upgradeNum = upgradeNum;
    }

    public String getLanguage() {
        return language;
    }

    public void setLanguage(String language) {
        this.language = language;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public Integer getUpdateFlag() {
        return updateFlag;
    }

    public void setUpdateFlag(Integer updateFlag) {
        this.updateFlag = updateFlag;
    }
}
